﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Anuntiomatic.Server
{
    public partial class SysGroup
    {
        public static List<SysGroup> GetAll()
        {
            using (var context = new DBDataContext())
            {
                return context.SysGroups.OrderBy(p => p.Ord).ToList();
            }
        }
    }
}
